package com.liyuhan.shopping.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liyuhan.shopping.entity.Comment;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CommentMapper extends BaseMapper<Comment> {
    @Select("select * from comment where gid = '${gid}'")
    public List<Comment> selectByGID(String gid);
}
